//  /*******************************************************************************
//  * Author      :  ChuanQin Yu                                                   *
//  * Copyright   :  (c) ChuanQin Yu 2023-2023                                     *
//  * mail        :  ycq1014@gmail.com                                             *
//  * License     :  http://www.boost.org/LICENSE_1_0.txt                          *
//  ********************************************************************************

/**
 * @Author: ycq1014@gmail.com
 * @DATE: 2023/12/18
 * @Description:
*/

#ifndef CONSOLE_COLOR_H
#define CONSOLE_COLOR_H

namespace mxg::Color{
    constexpr auto COLOR_RESET = "\033[0m";
    constexpr auto COLOR_BLACK = "\033[30m";                    /* Black */
    constexpr auto COLOR_RED = "\033[31m";                      /* Red */
    constexpr auto COLOR_GREEN = "\033[32m";                    /* Green */
    constexpr auto COLOR_YELLOW = "\033[33m";                   /* Yellow */
    constexpr auto COLOR_BLUE = "\033[34m";                     /* Blue */
    constexpr auto COLOR_MAGENTA = "\033[35m";                  /* Magenta */
    constexpr auto COLOR_CYAN = "\033[36m";                     /* Cyan */
    constexpr auto COLOR_WHITE = "\033[37m";                    /* White */
    constexpr auto COLOR_BOLDBLACK = "\033[1m\033[30m";         /* Bold Black */
    constexpr auto COLOR_BOLDRED = "\033[1m\033[31m";           /* Bold Red */


    constexpr auto COLOR_FATAL = COLOR_BOLDRED;                 /* Bold Red */
    constexpr auto COLOR_ERROR = COLOR_RED;                     /* Red */
    constexpr auto COLOR_WARN = COLOR_BLUE;                     /* Blue */
    constexpr auto COLOR_INFO = COLOR_BLUE;                     /* Blue */
    constexpr auto COLOR_DEBUG = COLOR_WHITE;                   /* White */
    constexpr auto COLOR_Time = COLOR_CYAN;                     /* Cyan */
    constexpr auto COLOR_LOGO = COLOR_GREEN;                    /* Green */
    constexpr auto COLOR_LINE = COLOR_YELLOW;                   /* Yellow */
}
constexpr auto COLOR_RESET = "\033[0m";
constexpr auto COLOR_BLACK = "\033[30m";                    /* Black */
constexpr auto COLOR_RED = "\033[31m";                      /* Red */
constexpr auto COLOR_GREEN = "\033[32m";                    /* Green */
constexpr auto COLOR_YELLOW = "\033[33m";                   /* Yellow */
constexpr auto COLOR_BLUE = "\033[34m";                     /* Blue */
constexpr auto COLOR_MAGENTA = "\033[35m";                  /* Magenta */
constexpr auto COLOR_CYAN = "\033[36m";                     /* Cyan */
constexpr auto COLOR_WHITE = "\033[37m";                    /* White */
constexpr auto COLOR_BOLDBLACK = "\033[1m\033[30m";         /* Bold Black */

#endif //CONSOLE_COLOR_H